package com.hailintang.demo.jdk8.mustdeadlock;


public class DeadLock2 {
    private String name;

    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public static void main(String[] args) {
        int age = 1;
        String name = "2";

        Object obj1 = new Object();


        DeadLock2 demo = new DeadLock2();



    }
}
